def sum(*num):
    s=0
    for n in num:
        s=s+n
    return s